//中文乱码解决
let http = require('http');
console.log("hello world:http://127.0.0.1:3000/");
http.createServer(function(req,res){
    // 解决中文乱码
    res.writeHead(200,{"Content-Type":"text/html;charset=utf-8"});
    res.end( "hello world 你好世界");
    console.log("right");
}).listen(3000,'127.0.0.1');